package com.jiazhong.shixi.bookstore.bean;
// 购物车表对应的封装类
public class Shopping_cart {
    // id
    private long id;
    // 用户id
    private long userId;
    // 数量
    private int number;
    // 图书id
    private Long bookId;

    public long getId() {
        return id;
    }

    public void setId(long id) {
        this.id = id;
    }

    public long getUserId() {
        return userId;
    }

    public void setUserId(long userId) {
        this.userId = userId;
    }

    public int getNumber() {
        return number;
    }

    public void setNumber(int number) {
        this.number = number;
    }

    public Long getBookId() {
        return bookId;
    }

    public void setBookId(Long bookId) {
        this.bookId = bookId;
    }
}

